home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat3 / isatty.3 < prev    next >
Encoding:
Text File  |  1993-03-03  |  812 b   |  67 lines

  1.  
  2.  
  3.  
  4. ISATTY(3)           MINTLIB LIBRARY FUNCTIONS           ISATTY(3)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        isatty - is this file desciptor a terminal device
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        #include <unistd.h>
  12.  
  13.        int isatty(int fildes);
  14.  
  15. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  16.        isatty  returns  1 if file descriptor fildes is associated
  17.        with a terminal device, 0 otherwise.
  18.  
  19. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  20.        t✓tt✓ty✓yn✓na✓am✓me✓e(✓(3✓3)✓)
  21.  
  22. N✓NO✓OT✓TE✓E
  23.        The current implementation makes use of the  Fseek  system
  24.        call,  which  may explain the appearance of the Fseek call
  25.        in system debug  messages  whenever  a  program  tries  to
  26.        determine whether it is writing to a file or to a tty.
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. MiNT docs 0.1              3 March 1993                         1
  65.  
  66.  
  67.